import { http } from "@/utils/http";
import type { HttpResult } from "@/utils/http/types";

export function querySysLogTable(params) {
  return http.request<HttpResult>("get", "/admin/syslog/get/table", {
    params: params
  });
}

export function querySysLogList(params) {
  return http.request<HttpResult>("get", "/admin/syslog/get/list", {
    params: params
  });
}

export function deleteSysLog(ids) {
  return http.request<HttpResult>("post", `/admin/syslog/delete/${ids}`);
}
